Mark preview filename as translatable.
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 16 Jun 2006 13:45:51 +0000 (13:45 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 16 Jun 2006 13:45:51 +0000 (13:45 +0000)
ChangeLog
ChangeLog.pre-2-10
gtk/gtkprintoperation-unix.c

index 3ec97bd71aa128adf968e4b09aa595b5de2f1ce6..d93482da74e2fa85767262609ad49af5c1c9557d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-16 Matthias Clasens  <mclasen@redhat.com>
+
+       * gtk/gtkprintoperation-unix.c: Mark the preview filename
+       as translatable (#345093, Christian Persch)
+
 Fri Jun 16 11:49:53 2006  Tim Janik  <timj@imendio.com>
 
        * fixed #337882 by applying patches from Tommi Komulainen:
index 3ec97bd71aa128adf968e4b09aa595b5de2f1ce6..d93482da74e2fa85767262609ad49af5c1c9557d 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-16 Matthias Clasens  <mclasen@redhat.com>
+
+       * gtk/gtkprintoperation-unix.c: Mark the preview filename
+       as translatable (#345093, Christian Persch)
+
 Fri Jun 16 11:49:53 2006  Tim Janik  <timj@imendio.com>
 
        * fixed #337882 by applying patches from Tommi Komulainen:
index 7ae019989e206d8778ece78f6af209ed973300de..69676c3b6068d76d4222d18a4809357fccd12b10 100644 (file)
@@ -587,10 +587,11 @@ _gtk_print_operation_platform_backend_create_preview_surface (GtkPrintOperation
   /* use temp dirs because apps like evince need to have extensions
    * to determine the mime type 
    */
-  tmp_dir = mkdtemp(dir_template);
+  tmp_dir = mkdtemp (dir_template);
+  /* print preview pdf filename (please leave the trailing .pdf in place) */
   preview_filename = g_build_filename (tmp_dir, 
-                                      "Print Preview.pdf",
-                                      NULL);
+                                       _("Print Preview.pdf"),
+                                       NULL);
   g_free (dir_template);
   *target = preview_filename;